#ifndef AVALON_DECODEREXCEPTION_HPP
#define AVALON_DECODEREXCEPTION_HPP
#include <stdexcept>
#include "Avalon/Codecs/Codecs.hpp"

namespace Avalon {
namespace Codecs {

  /*! \class DecoderException
   *  \brief Signals that an error occurred while decoding.
   */
  class DecoderException : public std::runtime_error, public boost::exception {
    public:

      //! Constructs a DecoderException.
      /*!
        \param message A message describing the error.
      */
      DecoderException(const std::string& message);

      virtual ~DecoderException() throw();
  };
}
}

#endif // AVALON_DECODEREXCEPTION_HPP
